import Vue from 'vue'
import VueRouter from 'vue-router'

import login from '../view/Login'
import main from '../view/Main'

Vue.use('VueRouter');

export default new VueRouter({
  routes: [
    {
      path: '/login',
      name:'login',
      component: login
    },
    {
      path: '/main',
      name:'main',
      component: main
    }
  ]
});
